import request from '@/utils/request'

export function getWareList(data) {
  return request({
    url: '/Admin/Ware/GetWareList',
    method: 'post',
    data
  })
}

export function addWare(data) {
  return request({
    url: '/Admin/Ware/AddWare',
    method: 'post',
    data
  })
}

export function deleteWare(data) {
  return request({
    url: '/Admin/Ware/DeleteWare',
    method: 'post',
    data
  })
}

export function updateWare(data) {
  return request({
    url: '/Admin/Ware/UpdateWare',
    method: 'post',
    data
  })
}